using System;
using System.Collections;
using NHibernate;

namespace NhJump.Persistence.Batching
{
    public interface IBatcher
    {
        void Add(ICriteria criteria, Action<IList> resultAction);
        void ExecuteAndClear();
        int Size { get; }
    }
}